package com.itheima.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

//表现层注解 添加到 Ioc bean中
@Controller
public class UserController {


    //设定当前方法的访问映射地址
    @RequestMapping("/save")

    public String save(){
        System.out.println("起飞");

        //设置跳转页面
        return "success.jsp";
    }


}
